/*
 * @Author       : NaN 353362604@qq.com
 * @Date         : 2023-01-12 09:35:49
 * @LastEditTime : 2023-04-27 11:13:19
 * @LastEditors  : NaN 353362604@qq.com
 * @FilePath     : \AdminStration\src\Common\Modal\ThrModalList\ProjectCompanyMonthReport.jsx
 * @Description  :
 */
import { commonTableList } from '../config'

export const ProjectCompanyMonthReport = async ({ data }) => {
    console.log(data.organization.tableName)
    let dataList = {
        url: 'ProjectCompanyMonthReport',
        uuid: data.uuid,
        type: '添加附件',
        width: 600,
        classification: 'FormModal',
        hideInSearch: true,
        pageSize: 10,
        params: {},
        added: 'posProjectCompanyMonthReport',
        additional: { organizationUuid: data.organizationUuid },
        columns: [
            {
                dataIndex: 'tableName',
                title: '月报名称',
                valueType: 'automatic',
                addonBefore: data.organization.tableName,
                addonAfter: '工程月报',
                className: 'RemarkForm',
                width: 300,
            },
            {
                dataIndex: 'yearMonth',
                title: '年月',
                automatic: 'tableName',
                valueType: 'Date',
                picker: 'month',
                showDate: true,
                rules: true,
                className: 'RemarkForm',
                width: 300,
            },
        ],
    }
    return dataList
}
